package com.uwo.commons.configuration.aop.validate;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * 校验信息配置信息配置
 * @author hao.yan
 */
@Data
@RefreshScope
@Component(value = "validateProperties")
@ConfigurationProperties(prefix = "spring.validate")
public class ValidateProperties {

    // 配置信息
    private Map<String, String> messages = new HashMap<String, String>();

}
